package com.ailink.design.pattern.observer.history;

/**
 * Created by Administrator on 2018/8/14
 */
public class ConcreteObserver implements Observer {

    private String observerState;

    @Override
    public void update(Subject subject) {
        this.observerState = ((ConcreteSubject)subject).getSubjectState();
    }
}
